package com.we.flink.userlabelplatform.table;

import java.sql.Timestamp;

public class TableHfqUserStrategy {
    public static final String KFKTABLE = "fdm.hhl01_hfq_user_strategy";
    public static final String QUERYSQL =
            "select uid, mapping_id, update_time from "
                    + KFKTABLE
                    + " where update_time is not null";

    public long uid;
    public int mapping_id;
    public Timestamp update_time;

    public TableHfqUserStrategy() {}

    public TableHfqUserStrategy(long uid, int mapping_id, Timestamp update_time) {
        this.uid = uid;
        this.mapping_id = mapping_id;
        this.update_time = update_time;
    }

    public long getUid() {
        return uid;
    }

    public int getMapping_id() {
        return mapping_id;
    }

    public Timestamp getUpdate_time() {
        return update_time;
    }

    @Override
    public String toString() {
        return "TableHfqUserStrategy{"
                + "uid="
                + uid
                + ", mapping_id="
                + mapping_id
                + ", update_time="
                + update_time
                + '}';
    }
}
